Macintosh
Sample Code Notes
_____________________________________________________________________________
                                                  Developer Technical Support

#4:	TubeTest

Written by:	Bo3b Johnson

Versions:			1.00						August 1988

Components:			TubeTest.p					August 1, 1988
					TubeTest.c					August 1, 1988
					TubeTest.r					August 1, 1988
					PTubeTest.make				August 1, 1988
					CTubeTest.make				August 1, 1988
_____________________________________________________________________________

TubeTest is a very simple demonstration of how to use the Palette 
Manager in a color application.  It has a special color palette 
that is associated with the main window, and the colors are 
animated using the Palette Manager to give a flowing tube effect.  
The program is very simple; the Palette Manager and drawing 
routines are in separate subroutines to make it easier to figure 
out what is happening.

TubeTest is a complete program with a main event loop (MEL), so 
there is extra code to run in the MEL.  A resource file is 
necessary to define the menu, window, dialog, and palette 
resources which the program uses.

We recommend that you review Sample or TESample for the general 
structure and MultiFinder techniques you should use when writing a 
new application.
